package com.nuc.seckill.base;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 秒杀请求
 *
 * @author 石一歌
 * @date 2022-08-14 18:33
 */
@Data
public class SeckillReqV2 {
    @NotNull(message = "产品id 不能为空")
    private Long productId;
    private Long userId;
    @NotEmpty(message = "验证码 不能为空")
    private String verifyCode;
}
